home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Paint Shop Pro / PSP900enTR.exe / Data1.cab / _941AC3EF61284CC4AE87F86AEAEEB59D < prev    next >
Encoding:
Text File  |  2004-08-16  |  838 b   |  31 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Jasc Software, Inc.',
  6.         'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': '',
  8.         'Host': u'Paint Shop Pro',
  9.         'Host Version': u'8.00'
  10.         }
  11.  
  12. def Swatch_SetMaterial():
  13.     return {
  14.         'IsPrimary': App.Constants.Boolean.true, 
  15.         'NewMaterial': {
  16.             'Color': None, 
  17.             'Pattern': {
  18.                 'Name': 'Bright emerald', 
  19.                 'Image': None, 
  20.                 'Angle': 0.000000, 
  21.                 'Scale': 100.000000
  22.                 }, 
  23.             'Gradient': None, 
  24.             'Texture': None
  25.             }
  26.         }
  27.  
  28. def Do(Environment):
  29.     App.Do( Environment, 'SetMaterial',         Swatch_SetMaterial())
  30.  
  31.